<?php

namespace Home\Controller;

use Think\Controller;
//use Imp\api_demo;
use \Imp\api_demo\SmsDemo;
//use \Model\UserModel;
use Common\Common\UserGlobal;  //公共类

class IndexController extends Controller {

    public function index() {
//	if (isset($_SESSION["user"]))
//	    echo "Welcome " . $_SESSION["user"] . "!<br />";
//	else
//	    echo "Welcome guest!<br />";
	//展示首页
	$com = new UserGlobal;
	UserGlobal::set_user_currentURL("index/index");
	
	
	$this ->display();
	
    }

}
